﻿<local:BaseDataVisualizer x:Class="BrainTechLLC.Silverlight.ClientApplication.EditGameCharTemplate"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:local="clr-namespace:BrainTechLLC.Silverlight.Controls;assembly=BrainTechLLC.Silverlight.Controls"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"              
    xmlns:loc="clr-namespace:BrainTechLLC.Silverlight.ClientApplication">
    <StackPanel Orientation="Vertical" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Name="gridData" Background="#FFFFFFFF">
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto">            
            <local:DataVisualizer x:Name="editBasicTemplate" Loaded="basicTemplate_Loaded" DataToVisualize="{Binding Mode=OneWay, Path=ToTemplate}" local:WindowContainer.IsOpen="True"
                              Template="{StaticResource WinContainer}" VisualizerName="EditBasicTemplate" IsCollection="False" WindowlessMode="True" 
                              local:WindowContainer.HideHeader="True"
                              Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="Auto" Grid.ColumnSpan="2" DescriptionTextString="Basic Template" HeaderBackground="#FF053600" WindowBorder="#FF000742"/>
        </Grid>
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="140"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <ContentControl Content="Add Ability Template:" Grid.Column="0" Style="{StaticResource TextBlockContentStyle}"/>
            <TextBox HorizontalAlignment="Stretch" Margin="0,0,60,0" KeyDown="txtAddAbilityTemplate_KeyDown" VerticalAlignment="Top" x:Name="txtAddAbilityTemplate" Grid.Column="1" Style="{StaticResource TextBoxNoScroller}" />
            <TextBox Margin="0,0,0,0" HorizontalAlignment="Right" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Style="{StaticResource TextBoxNoScroller}" x:Name="abilityTemplateNames" Grid.Column="1" Text="{Binding Mode=TwoWay, Path=AbilityTemplateNames}" />
        </Grid>
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="140"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Button Name="btnCreateChar" Content="Create Character" Click="btnCreateChar_Click"></Button>
        </Grid>
    </StackPanel>
</local:BaseDataVisualizer>
